package com.zwr.sheller.shop.mapper;

import com.zwr.sheller.core.pojo.OriginOrder;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;


/**
 * @author wdm
 */
public interface OriginOrderMapper extends Mapper<OriginOrder> {
    List<Map<String,Object>> selectOrderByDateAndStatus(Integer status , String date , String orderNum , String goodsName , Integer page);
    OriginOrder selectOriginOrderDetailById(Long orderId);
    Map<String,Object> selectAdressFromOrder(Long orderId);
    List<Map<String,Object>> selectGoodsDetailByOrderId(Long orderId);

    List<Map<String,Object>>   queryOrderToBeReceived(String date,Integer deliveryMethod);
    List<Map<String,Object>> querySelfWithdrawalOrder(String date, String orderNum, String goodsName);
    List<Map<String,Object>> queryRefoundOrder(Integer refundStatus,String date , String orderNum , String goodsName );
}
